﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Func : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        Func1();
        Debug.Log(GetSum(1, 2));
    }
    void Func1()
    {
        int a = 2;
        int b = 3;
        a = a << 2;  //a*2*2
        Debug.Log(a);
    }
    int GetSum(int a,int b)
    {
        return a + b;
    }
    // Update is called once per frame
    void Update()
    {
        
    }
}
